package com.wudimeng.syll.config.aop;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author laohei
 * @Date 2020/6/6 17:14
 * @Version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD,ElementType.PARAMETER})
public @interface CheckLoginUser {
    /**
     * 是否需要登录，缺省为需要
     * @return
     */
    boolean loginRequired() default true;
}
